#ifndef STUDENT_H
#define STUDENT_H

#include <QWidget>
#include<QSqlTableModel>

namespace Ui {
class Student;
}

class Student : public QWidget
{
    Q_OBJECT

public:
//    explicit Student(QWidget *parent = 0);
    Student(QString id,QString name);
    QString m_id;
    QString m_name;
    ~Student();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_4_clicked();

private:
    Ui::Student *ui;
    QSqlTableModel *mode;

};

#endif // STUDENT_H
